import request from './request';

export function getSettlements() {
  return request.get('/settlements');
}

export function addSettlement(data) {
  return request.post('/settlements', data);
}

export function updateSettlement(data) {
  return request.put('/settlements', data);
}

export function deleteSettlement(id) {
  return request.delete(`/settlements/${id}`);
} 